package com.hzlj.position.locate.controller;


import com.fz.common.base.dto.ResultDTO;
import com.hzlj.position.locate.service.MessageTodayService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
/**
 * 【当天消息通知】接口
 *
 * @author makejava
 * @date 2024-01-10 23:55:38
 */
@Slf4j
@RestController
@RequestMapping("/position/message/today")
public class MessageTodayController {
    
    @Resource
    private MessageTodayService messageTodayService;
    
    /**
    * 发送消息
    */
    @GetMapping("/send")
    public ResultDTO<?> send() {
        messageTodayService.send();
        return new ResultDTO<>();
    }

}

